<?php
//2015404233吴长猷
   header('Content-Type:text/html;charset=utf-8');
  
   $db=new mysqli('localhost', 'root', '', 'db_emp', 3306);

  if ($db->connect_errno){
       die("连接失败,出错信息是".$db->connect_error);
   }
   
   $db->query("set names utf8");
